package com.video_study.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class CourseDto {
    private String id;
    //课程标题
    private String course_title;
    //课程点赞量
    private Integer course_likes;
    //课程播放量
    private Integer course_looks;
    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private Date create_time;
    //创建者
    private String nickname;

    //创建者个性签名
    private String personal_signature;
    //章节
    private Integer course_chapters;
    //课程描述
    private String course_desc;
    //课程收藏量
    private Integer course_reserves;
    //创建者头像
    private String face_image;



    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCourse_title() {
        return course_title;
    }

    public void setCourse_title(String course_title) {
        this.course_title = course_title;
    }

    public Integer getCourse_likes() {
        return course_likes;
    }

    public void setCourse_likes(Integer course_likes) {
        this.course_likes = course_likes;
    }

    public Integer getCourse_looks() {
        return course_looks;
    }

    public void setCourse_looks(Integer course_looks) {
        this.course_looks = course_looks;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }


    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getPersonal_signature() {
        return personal_signature;
    }

    public void setPersonal_signature(String personal_signature) {
        this.personal_signature = personal_signature;
    }

    public Integer getCourse_chapters() {
        return course_chapters;
    }

    public void setCourse_chapters(Integer course_chapters) {
        this.course_chapters = course_chapters;
    }

    public String getFace_image() {
        return face_image;
    }

    public void setFace_image(String face_image) {
        this.face_image = face_image;
    }

    public String getCourse_desc() {
        return course_desc;
    }

    public void setCourse_desc(String course_desc) {
        this.course_desc = course_desc;
    }

    public Integer getCourse_reserves() {
        return course_reserves;
    }

    public void setCourse_reserves(Integer course_reserves) {
        this.course_reserves = course_reserves;
    }
}
